'''
This Program find Prime Pair in (MIN,MAX)
'''
MIN,MAX=100,200#the problem range
def IsPrime(n):
    '''
    Judge integer n is a prime or not
    '''
    for i in range(2,n/2+1):
        b=n%i
        if b==0:
            return 0
    return 1
for i in (3,4,5,6,7):#Test samples
    print i,IsPrime(i)
i=1
for f in range(MIN,MAX):#f is the First
    if IsPrime(f)==1:
        s=f+2#s is the Secont
        if IsPrime(s)==1:
            print i,(f,s)
            i+=1